package com.dgut.lotterySystem.service.dto;


import lombok.Data;

import java.util.List;

@Data
//可以用来获取很多种类的多条数据
public class PageInfoListDTO<T> {

    private Integer total;

    private List<T> records;

    public PageInfoListDTO(Integer total,List<T> records){
        this.total=total;
        this.records=records;
    }
}
